package com.chris.libs.example.pages.tabs.main.base;

import com.chris.libs.base.x.mvpp.mvpp.DefaultPresenter;

/**
 * @author Chris chan
 * Create on： 2025/2/1 10:50
 * Use for:
 * Explain:
 */
public class BaseFrameworkPresenter extends DefaultPresenter<BaseFrameworkContract.UIView>
        implements BaseFrameworkContract.Presenter {
    private BaseFrameworkViewModel viewModel;

    public BaseFrameworkPresenter(BaseFrameworkContract.UIView view) {
        super(view);
    }

    public void setViewModel(BaseFrameworkViewModel viewModel) {
        this.viewModel = viewModel;
    }

    @Override
    public void requestAndUpdate() {
        viewModel.setText("请求并返回,哈哈");
    }

}
